{% extends "base.html" %}
{% load i18n %}
{% block content %}
<form action="{% url django.contrib.auth.views.login %}" method="post">
    {{ form.non_field_errors }}
    {% for field in form %}
        <p>{{ field.errors }}</p>
        <p>{{ field.label_tag|capfirst }}:<br /> {{ field }}</p>
    {% endfor %}
    {% csrf_token %}
    <p><input type="submit" value="{% trans "login"|capfirst %}" /></p>
</form>
{% endblock %}
